package com.erlinyou.im.service.black.impl;

import java.util.List;
import java.util.Optional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;

import com.erlinyou.base.service.BaseServiceImpl;
import com.erlinyou.im.dao.repository.black.UserBlackRepository;
import com.erlinyou.im.model.black.UserBlack;
import com.erlinyou.im.model.black.UserBlackKey;
import com.erlinyou.im.service.black.UserBlackService;
@Service
public class UserBlackServiceImpl extends BaseServiceImpl<UserBlack, UserBlackKey> implements UserBlackService {

	@Autowired
	private UserBlackRepository UserBlackRepository;
	
	@Override
	public List<UserBlack> findAll() {
		return UserBlackRepository.findAll();
	}

	@Override
	public List<UserBlack> findAll(Sort sort) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<UserBlack> findAllById(Iterable<UserBlackKey> ids) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> List<S> saveAll(Iterable<S> entities) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void flush() {
		// TODO Auto-generated method stub

	}

	@Override
	public <S extends UserBlack> S saveAndFlush(S entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void deleteInBatch(Iterable<UserBlack> entities) {
		// TODO Auto-generated method stub

	}

	@Override
	public void deleteAllInBatch() {
		// TODO Auto-generated method stub

	}

	@Override
	public UserBlack getOne(UserBlackKey id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> List<S> findAll(Example<S> example) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> List<S> findAll(Example<S> example, Sort sort) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<UserBlack> findAll(Pageable pageable) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> S save(S entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Optional<UserBlack> findById(UserBlackKey id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean existsById(UserBlackKey id) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public long count() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void deleteById(UserBlackKey id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(UserBlack entity) {
		// TODO Auto-generated method stub

	}

	@Override
	public void deleteAll(Iterable<? extends UserBlack> entities) {
		// TODO Auto-generated method stub

	}

	@Override
	public void deleteAll() {
		// TODO Auto-generated method stub

	}

	@Override
	public <S extends UserBlack> Optional<S> findOne(Example<S> example) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> Page<S> findAll(Example<S> example, Pageable pageable) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <S extends UserBlack> long count(Example<S> example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public <S extends UserBlack> boolean exists(Example<S> example) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public List<UserBlack> findByUserid(long userid) {
		return UserBlackRepository.findByUserid(userid);
	}

}
